MariaDB
Adaption of MariaDB configuration
To configure your database to run Solution Hub, you need to change the MariaDB configurations. To do so, open the my.ini or my.cnf (e.g. in /etc/mariadb or C:\Programme\MariaDB\MariaDB Server X.X) in a text editor and change the settings as shown below.
[client]
default-character-set=latin1
[mysqld]
collation-server = latin1_german1_ci
init-connect='SET NAMES latin1'
character-set-server = latin1
wait_timeout = 28800
transaction-isolation=READ-COMMITTED
lower_case_table_names = 1
max_allowed_packet = 100M
default-storage-engine=INNODB
Restart the MariaDB server afterward. This can be done in the MariaDB console, the MariaDB System Tray Monitor or directly in Control Panel>Administrative Tools>Services.
Parameters can be displayed on the console with the SQL statement:
sql SHOW VARIABLES like 'lower%';
Creation of the database
-
Start the MariaDB console as root
mariadb -h localhost -u root –p -
Create a database
CREATE DATABASE SOLUTIONHUB; -
Create a user for the database
warningThe password of the SOLUTIONHUB database user should be changed for security reasons!
CREATE USER SOLUTIONHUB@localhost IDENTIFIED BY SOLUTIONHUB; -
Grant all rights of the database to the user
GRANT ALL PRIVILEGES ON SOLUTIONHUB.* TO SOLUTIONHUB@localhost; -
Log out as root
\q -
Set up the database by following the steps described in Flyway database setup